<template>
  <h1>属性绑定指令</h1>
  <input type="text" value="uname">
  <input type="text" v-bind:value="uname">
  <input type="text" :value="uname">
  <hr>
  <a href="url">超链接</a>
  <a :href="url">超链接</a>
</template>

<script setup>
import {ref} from "vue";

  const uname=ref('karry');
  const url=ref('https://www.baidu.com');
</script>

<style scoped>

</style>